package com.jtcoding.chat.service;

import io.netty.channel.Channel;

/**
 * @Author jason.tang
 * @Date 2019/02/6 14:18
 * @Desc Netty服务
 */

public interface NettyService {
    void putUserChannel(Integer userNum, Channel channel);

    void removeUserChannelByNum(Integer userNum);

    void removeUserChannel(Channel channel);

    Channel getChannelByNum(Integer userNum);
}
